<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta content="width=device-width, initial-scale=1.0" name="viewport">
        <title>SHOPPING-This is a Python works</title>
        <meta content="" name="description">
        <meta content="python,work" name="keywords">

          <!-- Favicons -->
  <link href="../static/img/notebook.svg" rel="icon">
  <link href="../static/img/notebook.svg" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">

  <!-- Vendor CSS Files -->
  <link href="../static/vendor/aos/aos.css" rel="stylesheet">
  <link href="../static/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="../static/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
  <link href="../static/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="../static/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
  <link href="../static/vendor/remixicon/remixicon.css" rel="stylesheet">
  <link href="../static/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="../static/css/style.css" rel="stylesheet">


        <!--购物车样式表-->
        <link rel="stylesheet" type="text/css" href="../static/css/cart.css" />
        <!--操作cookie的js文件-->
        <script type="text/javascript" src="../static/js/cookie.js"></script>

        <style>
            .juzhong {
                text-align: center;
                margin: auto;
            }
        </style>
    </head>

    <body>
      <header id="header" class="fixed-top">
    <div class="container d-flex align-items-center justify-content-between">

      <h1 class="logo"><a href="/">PythonWorks</a></h1>
      <!-- Uncomment below if you prefer to use an image logo -->
      <!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->

      <nav id="navbar" class="navbar">
        <ul>
          <li><a class="nav-link scrollto active" href="/">Home</a></li>
          <li><a class="nav-link scrollto" href="#about">About</a></li>
          <li><a class="nav-link scrollto" href="#services">Services</a></li>
          <li class="dropdown"><a href="#"><span>项目应用</span> <i class="bi bi-chevron-down"></i></a>
            <ul>
              <li><a href="/vowel">元音字母</a></li>
<!--              <li class="dropdown"><a href="#"><span>待开发</span> <i class="bi bi-chevron-right"></i></a>-->
<!--                <ul>-->
<!--                  <li><a href="#">待拓展</a></li>-->
<!--                  <li><a href="#">待拓展</a></li>-->
<!--                  <li><a href="#">待拓展</a></li>-->
<!--                  <li><a href="#">待拓展</a></li>-->
<!--                  <li><a href="#">待拓展</a></li>-->
<!--                </ul>-->
<!--              </li>-->
              <li><a href="/name">名字全称</a></li>
              <li><a href="/bmi">BMI计算器</a></li>
              <li><a href="/shop_home">购物车</a></li>
            </ul>
          </li>
          <li><a class="nav-link scrollto" href="#contact">欢迎{{ user_name }}</a></li>
        </ul>
        <i class="bi bi-list mobile-nav-toggle"></i>
      </nav><!-- .navbar -->

    </div>
  </header><!-- End Header -->

    <main id="main">
        <section class="inner-page">
        <div class="container position-relative">
            <div class="juzhong">
            <h1>购物车</h1>
            <h5 style="text-decoration:underline"><a href="/goods_list2">返回商品列表页面</a></h5></div>
            <table id="table" border="1" cellspacing="0" cellpadding="0" class="hide table table-condensed table-hover">
                <thead>
                    <tr>
                        <th scope="col">
                            <input type="checkbox" id="allCheck" class="ck form-check-input" />全选
                        </th>
                        <th scope="col">
                            图片
                        </th>
                        <th scope="col">
                            描述
                        </th>
                        <th scope="col">
                            数量
                        </th>
                        <th>
                            单价
                        </th>
                        <th>
                            小计
                        </th>
                        <th>
                            操作
                        </th>
                    </tr>
                </thead>
                <tbody id="tbody">

                </tbody>
            </table>
            <div class="box" id="box">购物车里没有其他商品了</div>

                <div>
            <h2 id="h2" class="text-end">总价格：￥<object name="total_price" id="totalPrice">0</object></h2>
</div>
<form class="needs-validation kaoyou" method="POST" action="/settlement">
				<div class="input-group">
                    <label for="balance"></label>
					<input id="balance" name="balance" type="text" class="form-control rounded-start" placeholder="请输入你的余额">
					<span class="input-group-btn">
						<button class="btn btn-outline-success btn-lg" type="submit" name="submit">
							结算
						</button>
					</span>
				</div><!-- /input-group -->
            </form>
        </div>
            </section>
    </main>
        <script src="../static/js/server.js" type="text/javascript" charset="utf-8"></script>
        <!--操作购物车页面的cart.js-->
        <script src="../static/js/cart.js?version=1.0"></script>

      <!-- ======= Footer ======= -->
  <footer id="footer">

    <div class="footer-top">
      <div class="container">
        <div class="row">

          <div class="col-lg-3 col-md-6 footer-contact">
            <h3>PythonWorks</h3>
            <p>
              Hot Spring Avenue <br>
              Guangzhou, Conghua zone<br>
              People's Republic of China <br><br>
              <strong>Phone:</strong>尽量邮箱联系哦~看下面<br>
              <strong>Email:</strong> <a href="mailto:kaijun__o_o@outlook.com">  kaijun__o_o@outlook.com</a>
            </p>
          </div>

          <div class="col-lg-2 col-md-6 footer-links">
            <h4>Useful Links</h4>
            <ul>
              <li><i class="bx bx-chevron-right"></i> <a href="https://www.cnblogs.com/xuzhichao">Teacher Xu's blogs</a></li>
              <li><i class="bx bx-chevron-right"></i> <a href="https://flask.net.cn/">Flask官网</a></li>
              <li><i class="bx bx-chevron-right"></i> <a href="https://docs.python.org/zh-cn/3/tutorial/index.html">Python官方教程</a></li>
            </ul>
          </div>

          <div class="col-lg-3 col-md-6 footer-links">
            <h4>Our Services</h4>
            <ul>
              <li><i class="bx bx-chevron-right"></i> <a href="/vowel">元音字母词频统计</a></li>
              <li><i class="bx bx-chevron-right"></i> <a href="/name">名字全称应用</a></li>
              <li><i class="bx bx-chevron-right"></i> <a href="/bmi">BMI计算器</a></li>
              <li><i class="bx bx-chevron-right"></i> <a href="/shop_home">购物车</a></li>
            </ul>
          </div>

          <div class="col-lg-4 col-md-6 footer-newsletter">
            <h4>Join Our Newsletter</h4>
            <p>想加入我们获取最新咨询嘛？输入你的邮箱把！（其实真的不会给你发的）</p>
            <form action="" method="post">
              <input type="email" name="email"><input type="submit" value="Subscribe">
            </form>
          </div>

        </div>
      </div>
    </div>

    <div class="container d-md-flex py-4">

      <div class="me-md-auto text-center text-md-start">
        <div class="copyright">
          &copy; Copyright <strong><span>OnePage</span></strong>. All Rights Reserved
        </div>
        <div class="credits">
          <!-- All the links in the footer should remain intact. -->
          <!-- You can delete the links only if you purchased the pro version. -->
          <!-- Licensing information: https://bootstrapmade.com/license/ -->
          <!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/onepage-multipurpose-bootstrap-template/ -->
          Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a> Decorated by <a href="">KaiJun</a>
        </div>
      </div>
      <div class="social-links text-center text-md-right pt-3 pt-md-0">
        <a href="#" class="twitter"><i class="bx bxl-twitter"></i></a>
        <a href="#" class="facebook"><i class="bx bxl-facebook"></i></a>
        <a href="#" class="instagram"><i class="bx bxl-instagram"></i></a>
        <a href="#" class="google-plus"><i class="bx bxl-skype"></i></a>
        <a href="#" class="linkedin"><i class="bx bxl-linkedin"></i></a>
      </div>
    </div>
  </footer><!-- End Footer -->

<!--  <div id="preloader"></div>-->
<!--  <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>-->

  <!-- Vendor JS Files -->
  <script src="../static/vendor/purecounter/purecounter.js"></script>
  <script src="../static/vendor/aos/aos.js"></script>
  <script src="../static/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="../static/vendor/glightbox/js/glightbox.min.js"></script>
  <script src="../static/vendor/isotope-layout/isotope.pkgd.min.js"></script>
  <script src="../static/vendor/swiper/swiper-bundle.min.js"></script>
  <script src="../static/vendor/php-email-form/validate.js"></script>
<!--  <script src="../static/js/goods_list.js"></script>-->

  <!-- Template Main JS File -->
  <script src="../static/js/main.js"></script>


    </body>
</html>